﻿<?xml version="1.0" encoding="utf-8" ?>
<objects xmlns="http://www.springframework.net">
  <description>Deletes a file first then creates it</description>

  <object id="MacroToProcess" type="Macro" >
	  <constructor-arg name="templateId" value="1C420832-0A41-4f65-87C6-1B62E84DF530"/>
	  <constructor-arg name="actions">
      <list element-type="IAction">
          
          <!-- Simple Action Test -->
          <object id="SimpleAction1" type="Collaboris.Saf.Tests.Support.Actions.SimpleActionNoException, Collaboris.Saf.Tests" name="SimpleAction1" />
          <object id="SimpleAction2" type="Collaboris.Saf.Tests.Support.Actions.SimpleActionNoException, Collaboris.Saf.Tests" >
            <property name="DisableUndo" value="true"/>
          </object>
          <object id="SimpleAction3" type="Collaboris.Saf.Tests.Support.Actions.SimpleActionNoException, Collaboris.Saf.Tests" />

          <!-- this one raises exception on the Do -->
          <object id="SimpleAction4" type="Collaboris.Saf.Tests.Support.Actions.SimpleActionNoException, Collaboris.Saf.Tests">
            <property name="DisableUndo" value="true"/>
          </object>

          <!-- should never get run as AutoUnDo is turned on and 'StopOnDoException' = True for previous Action.-->
          <object id="SimpleAction5" type="Collaboris.Saf.Tests.Support.Actions.SimpleActionNoException, Collaboris.Saf.Tests" />
          
       </list>
    </constructor-arg>
    <property name="AutoUnDo" value="False"/>
  </object>
</objects>

